package com.patchmanage.back.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author huizhao
 * @since 2021-03-23
 */
@ApiModel(value="InventoryDiscovery对象", description="")
public class InventoryDiscovery implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String content;

    @ApiModelProperty(value = "间断时间(s）")
    private BigDecimal timeInterval;

    @ApiModelProperty(value = "0不可用1可用")
    private Integer isAvailability;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public BigDecimal getTimeInterval() {
        return timeInterval;
    }

    public void setTimeInterval(BigDecimal timeInterval) {
        this.timeInterval = timeInterval;
    }
    public Integer getIsAvailability() {
        return isAvailability;
    }

    public void setIsAvailability(Integer isAvailability) {
        this.isAvailability = isAvailability;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "InventoryDiscovery{" +
            "id=" + id +
            ", content=" + content +
            ", timeInterval=" + timeInterval +
            ", isAvailability=" + isAvailability +
            ", updateTime=" + updateTime +
        "}";
    }
}
